/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package business;

/**
 *
 * @author Desarrollo
 */
public class Talla {
    private String talla;
    private String t01;
    private String t02;
    private String t03;
    private String t04;
    private String t05;
    private String t06;
    private String t07;
    private String t08;
    private String t09;
    private String t10;

    public Talla() {
        
    }

    public String getT01() {
        return t01;
    }

    public void setT01(String t01) {
        this.t01 = t01;
    }

    public String getT02() {
        return t02;
    }

    public void setT02(String t02) {
        this.t02 = t02;
    }

    public String getT03() {
        return t03;
    }

    public void setT03(String t03) {
        this.t03 = t03;
    }

    public String getT04() {
        return t04;
    }

    public void setT04(String t04) {
        this.t04 = t04;
    }

    public String getT05() {
        return t05;
    }

    public void setT05(String t05) {
        this.t05 = t05;
    }

    public String getT06() {
        return t06;
    }

    public void setT06(String t06) {
        this.t06 = t06;
    }

    public String getT07() {
        return t07;
    }

    public void setT07(String t07) {
        this.t07 = t07;
    }

    public String getT08() {
        return t08;
    }

    public void setT08(String t08) {
        this.t08 = t08;
    }

    public String getT09() {
        return t09;
    }

    public void setT09(String t09) {
        this.t09 = t09;
    }

    public String getT10() {
        return t10;
    }

    public void setT10(String t10) {
        this.t10 = t10;
    }

    public String getTalla() {
        return talla;
    }

    public void setTalla(String talla) {
        this.talla = talla;
    }

    @Override
    public String toString() {
        String tallas = "";

        if (t01 != null && !t01.equals("")) tallas += t01 + ", ";
        if (t02 != null && !t02.equals("")) tallas += t02 + ", ";
        if (t03 != null && !t03.equals("")) tallas += t03 + ", ";
        if (t04 != null && !t04.equals("")) tallas += t04 + ", ";
        if (t05 != null && !t05.equals("")) tallas += t05 + ", ";
        if (t06 != null && !t06.equals("")) tallas += t06 + ", ";
        if (t07 != null && !t07.equals("")) tallas += t07 + ", ";
        if (t08 != null && !t08.equals("")) tallas += t08 + ", ";
        if (t09 != null && !t09.equals("")) tallas += t09 + ", ";
        if (t10 != null && !t10.equals("")) tallas += t10 + ", ";

        tallas = tallas.substring(0, tallas.length() - 2);
        
        return tallas;
    }
}
